package com.kecheng.xinmei.service;


import com.kecheng.xinmei.entity.OrderDTO;
import com.kecheng.xinmei.entity.User;
import com.kecheng.xinmei.model.PageOrder;
import com.kecheng.xinmei.model.USDValueDTO;
import com.kecheng.xinmei.model.UserNftCollectionDTO;

import java.util.List;

/**
 * @author gaokecheng
 * @version 1.0
 * @date 2020/11/20 4:21 下午
 */
public interface UserService {
    User getUser();
    UserNftCollectionDTO getMyNFT(String owner,Integer pageSize);
    List<USDValueDTO> getValue(String address);

    Boolean placeOrder(OrderDTO orderDTO);

    PageOrder getOrder(Integer pageNum,Integer pageSize);

    UserNftCollectionDTO getMyOrder(String address,Integer pageNum,Integer pageSize);

    Boolean  boughtOrder(String address,Integer orderId);
}
